//
//  PasswordViewController.m
//  TravelFirst
//
//  Created by lanou3g on 15/9/22.
//  Copyright (c) 2015年 吴娅君. All rights reserved.
//

#import "PasswordViewController.h"
#import "PasswordView.h"

@interface PasswordViewController ()

@end

@implementation PasswordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    PasswordView *view =[[PasswordView alloc] initWithFrame:CGRectMake(0, 0, kWidth, kHeight)];
    UIButton *button = (UIButton *)[view viewWithTag:500];
    [button addTarget:self action:@selector(pass:) forControlEvents:(UIControlEventTouchUpInside)];
    [self.view addSubview:view];
}

- (void)pass:(UIButton *)pass{
    NSLog(@"密码已找回");
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
